package com.quad.innovators.salesease.model.query.warehouse;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.quad.innovators.salesease.common.base.BasePageQuery;

import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author : shanshan.li
 * @createTime : 2025/4/3 10:02
 * @Version : 1.0 
 */
@EqualsAndHashCode(callSuper = true)
@Schema(description = "车辆带货查询信息")
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class VehicleBringGoodsPageQuery extends BasePageQuery {
    @Schema(description = "车牌号")
    private String licenseNumber;

    // @Schema(description = "订单code")
    // private String saleReturnCode;

    @Schema(description = "检验结果类型")
    private Integer examineResultType;

    @Schema(description = "创建开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createStartTime;

    @Schema(description = "创建结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate createEndTime;

    @Schema(description = "H5使用")
    private Boolean h5Already;
}
